<template>
	<div class="box"></div>
	<button class="btn" @click="add">添加</button>
	<button class="btn" @click="add2">添加</button>
	<button @click="showMe3">测试3</button>
</template>
<script>
	export default {
		data() {
			return {
				a: 1,
				b: 2
			}
		},
		methods: {
			add() {
				console.log(`helloworld`);
			},
			add2() {
				console.log(`helloworld`);
			},
		}
	}
</script>
<style lang="scss">
	.box {
		width: 100px;
		height: 100px;
		border: 1px solid #000;
	}
</style>